﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yidu.Persister {
    /// <summary>
    /// NameValue
    /// </summary>
    public class NaVa {
        public string Name { get; set; }
        public string Value { get; set; }

        public NaVaType Type { get; set; }

        public NaVa(string name)
        {
            this.Name = name;
        }

        public NaVa(string name,string value)
        {
            this.Name = name;
            this.Value = value;
        }

        public NaVa(string name,string value,NaVaType type)
        {
            this.Name = name;
            this.Value = value;
            this.Type = type;
        }
    }
}
